added samples
[windows-sources.git] / sdk / samples / all in on code / Visual Studio 2010 / VBRunProcessAsUser / Kerr.Credentials / CredentialNotFoundException.cpp
blob99d7eaaa4e7d12cedc7ce62e5baa426f9d87c5ac
1 //*****************************************************************************
2 //
3 // Author: Kenny Kerr
4 // Date created: 31 July 2005
5 //
6 // Description: CredentialNotFoundException is the exception that is thrown
7 // when an attempt to load or reference a credential that does
8 // not exist fails.
9 //
10 //*****************************************************************************
12 #include "stdafx.h"
13 #include "CredentialNotFoundException.h"
14 #include "Strings.h"
16 using namespace Runtime::Serialization;
18 Kerr::CredentialNotFoundException::CredentialNotFoundException(ComponentModel::Win32Exception^ innerException) :
19 Exception(Strings::Get("CredentialNotFoundException.Message"), innerException)
21 // Do nothing
24 Kerr::CredentialNotFoundException::CredentialNotFoundException(SerializationInfo^ info,
25 StreamingContext context) :
26 Exception(info, context)
28 // Do nothing